WeDevs\Dokan\ProductCategory\Helper A

Total Complexity 53
Dependencies 3
Dependents 10
Total lines 394
Lines of code 191
Logical lines of code 111
Comment lines 146
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
generate_chosen_categories()
A
46 13 36
get_saved_products_category()
A
53 8 23
get_product_categories_tree()
S
48 6 35
get_product_chosen_category()
S
56 6 18
set_object_terms_from_chosen_categories()
S
56 5 17
get_ancestors_html()
S
57 4 16
get_product_terms()
S
62 5 10
enqueue_and_localize_dokan_multistep_category()
S
58 1 16
generate_and_set_chosen_categories()
S
67 2 8
product_category_selection_is_single()
S
78 1 3
is_any_category_selection_enabled()
S
78 1 3
get_formatted_chosen_cat()
S
71 1 6